cmake_minimum_required(VERSION 3.10)

project(main VERSION 1.0)
configure_file(SplineConfig.h.in SplineConfig.h)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_FLAGS_RELEASE -O2 -O3 -Ofast)
set(MAIN_CPP main.cpp)

add_executable(${PROJECT_NAME} ${MAIN_CPP})

target_include_directories(${PROJECT_NAME} PUBLIC
                           ${PROJECT_BINARY_DIR}
                           ${PROJECT_SOURCE_DIR}/src
                           )